{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{{ call_list.name }}{% endblock %} {% block content %}

{{ call_list.get_purpose_display }}{% if call_list.created_by %} · {% blocktranslate trimmed with who=call_list.created_by.display_name when=call_list.created_at|date:"j M Y" %}made by {{ who }}, {{ when }}{% endblocktranslate %}{% endif %}{% if call_list.due_date %} · {% blocktranslate trimmed with when=call_list.due_date|due %}finish by {{ when }}{% endblocktranslate %}{% endif %}

{{ call_list.name }}

{% if call_list.chosen %}

{{ call_list.chosen }}

{% endif %}
{% if user.is_supervisor %}{% translate "Download (CSV)" %}{% endif %} {% translate "All call lists" %}
{% if not call_list.is_open %}{% endif %}
{{ progress.total }}{% translate "Callers on the list" %}
{{ progress.reached }}{% translate "Reached" %}
{{ progress.not_reached|add:progress.wrong }}{% translate "Not reached or wrong number" %}
{{ progress.waiting }}{% translate "Still to call" %}
{% if call_list.script %}

{% translate "What to say" %}

{{ call_list.script|linebreaksbr }}
{% endif %}

{% translate "Your callers" %}

{% blocktranslate trimmed with done=my_progress.done total=my_progress.total %}{{ done }} of {{ total }} done{% endblocktranslate %}
{% if next_up %}
{% translate "Next" %}
{{ next_up.contact.name }} {{ next_up.contact.phone_display }}
{% if next_up.tries %}
{% blocktranslate trimmed count n=next_up.tries %}Tried {{ n }} time, no answer.{% plural %}Tried {{ n }} times, no answer.{% endblocktranslate %}
{% endif %}
{% translate "Call now" %}
{% endif %} {% if mine %} {% else %}

{% translate "No callers on this list are given to you." %}

{% endif %} {% if can_take %}
{% csrf_token %} {% translate "When you have finished yours: takes up to 10 from whoever has the most left." %}
{% endif %}
{% if user.is_supervisor %}

{% translate "Progress by person" %}

{% if people %}
{% for row in people %} {% endfor %}
{% translate "Agent" %}{% translate "Callers" %}{% translate "Reached" %}{% translate "Not reached" %}{% translate "Still to call" %}
{{ row.name }}{{ row.total }}{{ row.reached }}{{ row.not_reached }}{{ row.waiting }}
{% endif %}

{% translate "Manage the list" %}

{% if call_list.is_open %}
{% csrf_token %} {% include "_field.html" with field=share_form.agents wide=True %}

{% translate "Callers already reached stay with whoever reached them." %}

{% csrf_token %} {% translate "When the work is done or no longer needed. Its callers stop showing as waiting." %}
{% else %}
{% csrf_token %}
{% endif %}

{% translate "Everyone on the list" %}

{% translate "All" %} {% for value, label in statuses %}{{ label }}{% endfor %}
{% if who %}{% translate "Everyone’s callers" %}{% endif %}
{% if page.object_list %}
{% for e in page %} {% endfor %}
{% translate "Caller" %}{% translate "Location" %}{% translate "Agent" %}{% translate "Status" %}{% translate "How it went" %}
{{ e.contact.name }}
{{ e.contact.phone_display }}
{{ e.contact.location|default:"—" }} {{ e.assigned_to.display_name|default:"—" }} {{ e.get_status_display }}{% if e.tries %}
{% blocktranslate trimmed count n=e.tries %}{{ n }} try{% plural %}{{ n }} tries{% endblocktranslate %}
{% endif %}
{% if e.last_tried_at %}{{ e.last_tried_at|when }} {% endif %}{{ e.note|default:"" }}
{% include "_pager.html" %} {% else %}

{% translate "Nothing here." %}

{% endif %}
{% endif %} {% endblock %}